package com.ctgu.zmc;

import java.util.Arrays;

/**
 * 测试类
 *
 * @author ZMC
 */
public class Test {
    public static void main(String[] args) {
        int[] nums = {1, -2, 3, -2, 5, 1};
        int maxSum = MyArray.maxSubSumOfSequence(nums);
        System.out.println("数组" + Arrays.toString(nums) + "的连续子数组最大和为: " + maxSum);
    }
}
